package com.neuedu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ec_user_collection")
public class UserCollection {

    @TableId(type = IdType.AUTO)
    @Column(comment = "收藏记录 id")
    private Integer collectionId;

    @Column(comment = "用户 id")
    private Integer uid;

    @Column(comment = "商品 id")
    private Integer pid;

    @Column(comment = "收藏时间")
    private String collectionTime;
}